<%--
  Created by IntelliJ IDEA.
  User: 17445
  Date: 2022/8/23
  Time: 21:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--
  Created by IntelliJ IDEA.
  User: 17445
  Date: 2022/8/23
  Time: 13:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加商品</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/css/style.css"/>
    <style>
        .ss_box{position:relative;display:inline-block;width:calc(30% + 24px);}
        .ss_box dl{position:absolute;top:36px;left:0;width:100%;max-height:200px;background-color:#fff;border:1px solid #ddd;overflow:auto;display:none;}
        .ss_box dt{padding:10px;}
        .ss_box dd{padding:5px 10px;cursor:context-menu;}
        .ss_box dd:hover{background-color:#ddd;}
    </style>
</head>
<body>
<div class="main_box">
    <h2><span></span>添加商品</h2>
    <div class="cont_box">
        <form action="${pageContext.request.contextPath}/CommodityController/addCommoditya" method="post" id="addPro_form">
                    <div class="ss_box">
                            <dd>商品分类名称</dd>
                        </dl>
                    </div>
                </li>
                <li>
                    <label>商品名称：</label>
                    <input type="text" placeholder="请输入商品名称名称" name="J_commodity_classification_name" required data-rule-proname="true" data-msg-required="商品名称不能为空"/>
                </li>
            <input type="submit" value="提交">
                <li>
        </form>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/other.js"></script>
<script>
    // $(function(){
    //     $("body").other({formId:"#addPro_form",formUrl:"#"});//formUrl 表单请求地址
    //     //select search
    //     $.selectSearch($(".ss_box"));
    // });
</script>
</body>
</html>

